package com.edu.oracle.service.impl;

import com.edu.oracle.dao.TeacherDao;
import com.edu.oracle.pojo.Teacher;
import com.edu.oracle.service.TeacherService;

import java.util.List;

public class TeacherServiceImpl implements TeacherService {
    TeacherDao teacherDao= new TeacherDao();
    @Override
    public List<Teacher> list() {
        return teacherDao.list() ;
    }
}
